'use strict';

module.exports = app => {
  const { STRING, INTEGER, DATE ,UUID,TEXT} = app.Sequelize;
  var moment = require('moment');

  const fd_role_auth = app.model.define('fd_role_auth', {
    id: { type: UUID, primaryKey: true},
    role_id:STRING(50),//角色id，
    auth_id:STRING(50),//权限id，
    deleted:{type:STRING(1),defaultValue:'0'} ,//0:可用 ,1:不可用
  },{freezeTableName: true,timestamps: true})

  return fd_role_auth;
};
